<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Login_model extends MY_Model
{
	private $_host;
	private $_dbname;
	private $_username;
	private $_password;
	private $_port;
	
	function Login_model()
	{
		parent::MY_Model();
	}
	
	function check_login($unam, $upass)
	{
		return $this->getRows("CALL nm_login('$unam', '$upass')", 0);
	}	
}